import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import $ from 'jquery'
import 'lib-flexible'
import Navigation from 'vue-navigation'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import VueLazyload from 'vue-lazyload'
// import appKeyWords from "./assets/js/app_rizhi/appKeywords";
import VueBus from './assets/js/vue-bus'
import layer from 'vue2-layer-mobile'
import 'swiper/dist/css/swiper.css'
import './assets/js/fastclick.min'
import './assets/css/reset.css'
import './assets/css/common-a.scss'
import './assets/css/animate.css'

Vue.use(Navigation, { router, store })
Vue.use(VueAwesomeSwiper)
Vue.use(layer)
Vue.use(VueLazyload)
Vue.config.productionTip = false
Vue.prototype.$axios = axios
Vue.prototype.$layer = layer
// Vue.use("/", history());
// Vue.prototype.$appKeyWords = appKeyWords;
Vue.prototype.$bus = VueBus
Vue.prototype.$localStorage = localStorage
new Vue({
  router,
  store,
  axios,
  $,
  VueBus,
  localStorage,
  // appKeyWords,
  render: h => h(App)
  // mounted() {
  //   const s = document.createElement('script')
  //   s.type = 'text/javascript'
  //   s.src = 'https://at.alicdn.com/t/font_989682_taca7p9h2t.js'
  //   document.body.appendChild(s)
  // }
}).$mount('#app')
